<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:replace="~{fragments/header :: header}"></div>

<div>
    <p>ID:<span th:text="${userModel.user.id}"></span></p>
    <p>AGE:<span th:text="${userModel.user.age}"></span></p>
    <p>NAME:<span th:text="${userModel.user.name}"></span></p>
</div>
<div>
    <a href="#" th:href="@{'/users/delete/'+${userModel.user.id}}">删除</a>
    <a href="#" th:href="@{'/users/modify/'+${userModel.user.id}}">修改</a>
</div>

<div th:replace="~{fragments/footer :: footer}"></div>
</body>
</html>